package com.lzh.thinkpet.model;

public class Purchase {
    private Integer purchaseId;

    private Integer goodsId;

    private Float purchasePrice;

    private Integer purchaseNum;

    private String purchaseDate;

    private Integer supplierId;

    private String purchaseNote;

    @Override
    public String toString() {
        return "Purchase{" +
                "purchaseId=" + purchaseId +
                ", goodsId=" + goodsId +
                ", purchasePrice=" + purchasePrice +
                ", purchaseNum=" + purchaseNum +
                ", purchaseDate='" + purchaseDate + '\'' +
                ", supplierId=" + supplierId +
                ", purchaseNote='" + purchaseNote + '\'' +
                '}';
    }

    public Integer getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(Integer purchaseId) {
        this.purchaseId = purchaseId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Float getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(Float purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public Integer getPurchaseNum() {
        return purchaseNum;
    }

    public void setPurchaseNum(Integer purchaseNum) {
        this.purchaseNum = purchaseNum;
    }

    public String getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(String purchaseDate) {
        this.purchaseDate = purchaseDate == null ? null : purchaseDate.trim();
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getPurchaseNote() {
        return purchaseNote;
    }

    public void setPurchaseNote(String purchaseNote) {
        this.purchaseNote = purchaseNote == null ? null : purchaseNote.trim();
    }
}